package org.ccu.eshop.domain.dto;

import org.ccu.eshop.domain.CartSelectedMerPo;

import java.math.BigDecimal;

public class CartSelectedMerVo extends CartSelectedMerPo {
    //扩展字段
    String merName;//商品名
    BigDecimal merPrice;//市场价

    public CartSelectedMerVo() {
    }

    public CartSelectedMerVo(Integer id, Integer cart, Integer merchandise, Integer number, BigDecimal price, BigDecimal money) {
        super(id, cart, merchandise, number, price, money);
    }

    public CartSelectedMerVo(Integer id, Integer cart, Integer merchandise, Integer number, BigDecimal price, BigDecimal money, String merName, BigDecimal merPrice) {
        super(id, cart, merchandise, number, price, money);
        this.merName = merName;
        this.merPrice = merPrice;
    }

    public String getMerName() {
        return merName;
    }

    public void setMerName(String merName) {
        this.merName = merName;
    }

    public BigDecimal getMerPrice() {
        return merPrice;
    }

    public void setMerPrice(BigDecimal merPrice) {
        this.merPrice = merPrice;
    }
}
